import React from 'react'
import { Tabs,Avatar, List  } from 'antd';
import type { TabsProps } from 'antd';
function Tab() {
    const onChange = (key: string) => {
  console.log(key);
};
  return (
    <div>
       <Tabs defaultActiveKey="1" items={[{
    key: '1',
    label: '待接单',
    children:'',
  },
  {
    key: '2',
    label: '待发出',
    children: '',
  },
  {
    key: '3',
    label: '待送达',
    children: '',
  },
  {
    key: '4',
    label: '已完成',
    children: '',
  },
  {
    key: '5',
    label: '取消/退款',
    children: '',
  },]} onChange={onChange} >

  <div accessKey='1'>
  </div>
   </Tabs>
    </div>
  )
}

export default Tab
